package eerbaar.game;

import eerbaar.area.IArea;
import eerbaar.context.IContext;
import eerbaar.level.ILevel;
import eerbaar.persona.IPersona;

public interface IGame extends IContext {

    static final String COOKIE = "eerbaarGame";

    static final String PET = "pet";

    IArea getArea();

    ILevel getLevel();

    <T extends IPersona> T getPersona(Class<T> type, String name);

    IPersona getPersona(String name);

    IPersona[] getPersonas();

    void init();

    void setArea(IArea area);

    void setLevel(ILevel level);

    void term();

}
